package com.xh.rufongwallpaper.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 壁纸VO，用于前端展示
 */
@Data
public class WallpaperVO {
    private Long id;
    private String title;
    private String description;
    private String category;
    
    @JsonProperty("url")
    private String filePath;
    
    @JsonProperty("thumbnail_url")
    private String thumbnailPath;
    
    @JsonProperty("preview_url")
    private String thumbnailPathForPreview;
    
    private Integer width;
    private Integer height;
    private Long fileSize;
    private List<String> tags;
    private Integer downloads;
    
    @JsonProperty("created_at")
    private Date createTime;
    
    @JsonProperty("is_premium")
    private Boolean isPremium = false;
} 